static GetFromTermResult
get_length_internal (StThemeNode *node,
const char *property_name,
- const char *suffixed,
gdouble *length)
{
int i;
{
CRDeclaration *decl = node->properties[i];
- if (strcmp (decl->property->stryng->str, property_name) == 0 ||
- (suffixed != NULL && strcmp (decl->property->stryng->str, suffixed) == 0))
+ if (strcmp (decl->property->stryng->str, property_name) == 0)
{
GetFromTermResult result = get_length_from_term (node, decl->value, FALSE, length);
if (result != VALUE_NOT_FOUND)
gboolean inherit,
gdouble *length)
{
- GetFromTermResult result = get_length_internal (node, property_name, NULL, length);
+ GetFromTermResult result = get_length_internal (node, property_name, length);
if (result == VALUE_FOUND)
return TRUE;
else if (result == VALUE_INHERIT)